<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>iTorrent</title>
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>
<div class="header">
<h1 style="text-align: center">iTorrent</h1>
</div>

<h4 id="advanced-use">Advanced Use:</h4>
<p>
To use alternate options for iTorrent, you'll need to run it from the command
line. To run iTorrent from the command line, Windows users need to open a
command prompt, <code>cd</code> into the <code>iTorrent-alpha-2</code> directory,
and run <code>iTorrent</code>:
</p>
<pre style="margin-left: 6ex">> iTorrent</pre>
<p>
Mac users need to open a terminal, <code>cd</code> into the
<code>iTorrent-alpha-2/iTorrent.app/Contents/MacOS</code> directory, and run
<code>iTorrent</code>:
</p>
<pre style="margin-left: 6ex">$ ./iTorrent</pre>
<p>
iTorrent has several options that can only be used if you start iTorrent from
the command-line (rather than double-clicking on <code>iTorrent</code>). To
view all of the available options, run iTorrent with the <code>--help</code>
command-line option:
</p>
<pre style="margin-left: 6ex">> iTorrent --help</pre>
<p>
For example, if you want iTorrent to use port 3333 instead of its default port
80, you need to supply the <code>--control_port</code> option on the
command-line:
</p>
<pre style="margin-left: 6ex">> iTorrent --control_port 3333</pre>
<p>
When you run iTorrent from the command-line, you can stop iTorrent by pressing
Ctrl-C or Ctrl-Break, rather than closing the terminal window.
</p>

<div class="footer">
<p style="text-align: center">
<a href="index.html">Introduction</a> |
Advanced Use |
<a href="faq.html">FAQ</a> |
<a href="contact.html">Contact Info</a>
</p>
</div>

</body>
</html>
